Finding Regions Fast: Single Entry Single Exit and Control Regions in Linear Time
نویسندگان
چکیده
Many compilation problems require computing the control dependence equivalence relation which divides nodes in a control ow graph into equivalence classes such that nodes are in the same class if and only if they have the same set of control dependences. In this paper, we show that this relation can be computed in O(E) time by reducing it to a naturally stated graph problem: in a strongly connected component, divide nodes into equivalence classes such that every cycle passes through all or none of the nodes in an equivalence class. Our algorithm does not require the computation of the control dependence relation or of the postdominator relation | in fact, it runs faster in practice than the best algorithms for either of these problems. We also show that our algorithm can be used to determine the single entry single exit regions of a control ow graph in O(E) time.
منابع مشابه
Tree Traversal Scheduling: A Global Scheduling Technique for VLIW/EPIC Processors
Global scheduling in a treegion framework has been proposed to exploit instruction level parallelism (ILP) at compile time. A treegion is a single-entry / multiple-exit global scheduling scope that consists of basic blocks with control-flow that forms a tree. Because a treegion scope is nonlinear (includes multiple paths) it is distinguished from linear scopes such as traces or superblocks. Tre...
متن کاملLocation problems in regions with and block norms
We consider the two well knownminimax and minisum single facility location problems in the plane which has been divided into two regions, and by a straight line. The two regions are measured by various norms . We focus on three special cases in which the regions and are measured by and norms, and block norms, two distinct block norms. Based on the properties of block norms then we use linear ...
متن کاملDeclarative techniques for model-driven business process integration
state machines, 14 and Pi-calculus 15 have been presented recently. The semantics are usually used to devise techniques to automatically verify properties of the activity diagrams. However, none of these formalizations is worked out in such detail that it can help in developing sound transformation, normalization, or refactoring algorithms that transform one arbitrary UML 2.0 activity diagram i...
متن کاملA single-vendor and a single-buyer integrated inventory model with ordering cost reduction dependent on lead time
Lead time is one of the major limits that affect planning at every stage of the supply chain system. In this paper, we study a continuous review inventory model. This paper investigates the ordering cost reductions are dependent on lead time. This study addressed two-echelon supply chain problem consisting of a single vendor and a single buyer. The main contribution of this study is that the in...
متن کاملScheduling of Residential Multiclass Appliances in Smart Homes UsingV2H Capability of Electric Vehicle
With the aim of reducing cost of electricity consumption and peak load reduction, tools requirement for better managing electricity consumption have become inevitable in recent years. Smart home has some equipment which are controllable and this ability is used for increasing comfort and minimizing electricity cost for residence. As a key component of smart home , Electric Vehicle(EV) ,increase...
متن کامل